
			<div class="main-content">
				<div class="main-content-inner">
					<div class="breadcrumbs ace-save-state" id="breadcrumbs">
						<ul class="breadcrumb">
							<li>
								<i class="ace-icon fa fa-home home-icon"></i>
								<a href="#">首页</a>
							</li>

							<li class="active">
								<a href="#">宿管文件管理</a>
							</li>
						</ul><!-- /.breadcrumb -->

						<div class="nav-search" id="nav-search">
							<form class="form-search">
								<span class="input-icon">
									<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
									<i class="ace-icon fa fa-search nav-search-icon"></i>
								</span>
							</form>
						</div><!-- /.nav-search -->
					</div>

					<div class="page-content">
						<div class="ace-settings-container" id="ace-settings-container">
							<div class="btn btn-app btn-xs btn-warning ace-settings-btn" id="ace-settings-btn">
								<i class="ace-icon fa fa-cog bigger-130"></i>
							</div>

							<div class="ace-settings-box clearfix" id="ace-settings-box">
								<div class="pull-left width-50">
									<div class="ace-settings-item">
										<div class="pull-left">
											<select id="skin-colorpicker" class="hide">
												<option data-skin="no-skin" value="#438EB9">#438EB9</option>
												<option data-skin="skin-1" value="#222A2D">#222A2D</option>
												<option data-skin="skin-2" value="#C6487E">#C6487E</option>
												<option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
											</select>
										</div>
										<span>&nbsp; Choose Skin</span>
									</div>

									<div class="ace-settings-item">
										<input type="checkbox" class="ace ace-checkbox-2 ace-save-state" id="ace-settings-navbar" autocomplete="off" />
										<label class="lbl" for="ace-settings-navbar"> Fixed Navbar</label>
									</div>

									<div class="ace-settings-item">
										<input type="checkbox" class="ace ace-checkbox-2 ace-save-state" id="ace-settings-sidebar" autocomplete="off" />
										<label class="lbl" for="ace-settings-sidebar"> Fixed Sidebar</label>
									</div>

									<div class="ace-settings-item">
										<input type="checkbox" class="ace ace-checkbox-2 ace-save-state" id="ace-settings-breadcrumbs" autocomplete="off" />
										<label class="lbl" for="ace-settings-breadcrumbs"> Fixed Breadcrumbs</label>
									</div>

									<div class="ace-settings-item">
										<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-rtl" autocomplete="off" />
										<label class="lbl" for="ace-settings-rtl"> Right To Left (rtl)</label>
									</div>

									<div class="ace-settings-item">
										<input type="checkbox" class="ace ace-checkbox-2 ace-save-state" id="ace-settings-add-container" autocomplete="off" />
										<label class="lbl" for="ace-settings-add-container">
											Inside
											<b>.container</b>
										</label>
									</div>
								</div><!-- /.pull-left -->

								<div class="pull-left width-50">
									<div class="ace-settings-item">
										<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-hover" autocomplete="off" />
										<label class="lbl" for="ace-settings-hover"> Submenu on Hover</label>
									</div>

									<div class="ace-settings-item">
										<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-compact" autocomplete="off" />
										<label class="lbl" for="ace-settings-compact"> Compact Sidebar</label>
									</div>

									<div class="ace-settings-item">
										<input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-highlight" autocomplete="off" />
										<label class="lbl" for="ace-settings-highlight"> Alt. Active Item</label>
									</div>
								</div><!-- /.pull-left -->
							</div><!-- /.ace-settings-box -->
						</div><!-- /.ace-settings-container -->

						<div class="page-header">
							<h1>
								宿管文件管理
								<small>
									<i class="ace-icon fa fa-angle-double-right"></i>
									宿舍管理相关文件与资料的浏览、管理、归档
								</small>
							</h1>
						</div><!-- /.page-header -->

<div class="col-sm-6">
    <div class="widget-box widget-color-green2">
        <div class="widget-header">
            <h4 class="widget-title lighter smaller">
                浏览文件
                <!-- <span class="smaller-80">(with selectable folders)</span> -->
            </h4>
        </div>

        <div class="widget-body">
            <div class="widget-main padding-8">
                <ul id="tree2" class="tree tree-unselectable tree-folder-select" role="tree"><li class="tree-branch hide" data-template="treebranch" role="treeitem" aria-expanded="false">				<i class="icon-caret ace-icon tree-plus"></i>&nbsp;				<div class="tree-branch-header">					<span class="tree-branch-name">						<i class="icon-folder ace-icon fa fa-folder"></i>						<span class="tree-label"></span>					</span>				</div>				<ul class="tree-branch-children" role="group"></ul>				<div class="tree-loader hidden" role="alert"><div class="tree-loading"><i class="ace-icon fa fa-refresh fa-spin blue"></i></div></div>			</li>			<li class="tree-item hide" data-template="treeitem" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"></span>				</span>			</li><li class="tree-branch tree-open" role="treeitem" aria-expanded="true">				<i class="icon-caret ace-icon tree-minus"></i>&nbsp;				<div class="tree-branch-header">					<span class="tree-branch-name">						<i class="icon-folder red ace-icon fa fa-folder-open"></i>						<span class="tree-label">Pictures</span>					</span>				</div>				<ul class="tree-branch-children" role="group"><li class="tree-branch tree-open" role="treeitem" aria-expanded="true">				<i class="icon-caret ace-icon tree-minus"></i>&nbsp;				<div class="tree-branch-header">					<span class="tree-branch-name">						<i class="icon-folder pink ace-icon fa fa-folder-open"></i>						<span class="tree-label">Wallpapers</span>					</span>				</div>				<ul class="tree-branch-children" role="group"><li class="tree-item" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-picture-o green"></i> wallpaper1.jpg</span>				</span>			</li><li class="tree-item" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-picture-o green"></i> wallpaper2.jpg</span>				</span>			</li><li class="tree-item" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-picture-o green"></i> wallpaper3.jpg</span>				</span>			</li><li class="tree-item tree-selected" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-picture-o green"></i> wallpaper4.jpg</span>				</span>			</li></ul>				<div class="tree-loader hidden" role="alert"><div class="tree-loading"><i class="ace-icon fa fa-refresh fa-spin blue"></i></div></div>			</li><li class="tree-branch" role="treeitem" aria-expanded="false">				<i class="icon-caret ace-icon tree-plus"></i>&nbsp;				<div class="tree-branch-header">					<span class="tree-branch-name">						<i class="icon-folder ace-icon fa fa-folder pink"></i>						<span class="tree-label">Camera</span>					</span>				</div>				<ul class="tree-branch-children" role="group"></ul>				<div class="tree-loader hidden" role="alert"><div class="tree-loading"><i class="ace-icon fa fa-refresh fa-spin blue"></i></div></div>			</li></ul>				<div class="tree-loader hidden" role="alert"><div class="tree-loading"><i class="ace-icon fa fa-refresh fa-spin blue"></i></div></div>			</li><li class="tree-branch" role="treeitem" aria-expanded="false">				<i class="icon-caret ace-icon tree-plus"></i>&nbsp;				<div class="tree-branch-header">					<span class="tree-branch-name">						<i class="icon-folder ace-icon fa fa-folder orange"></i>						<span class="tree-label">Music</span>					</span>				</div>				<ul class="tree-branch-children" role="group"></ul>				<div class="tree-loader hidden" role="alert"><div class="tree-loading"><i class="ace-icon fa fa-refresh fa-spin blue"></i></div></div>			</li><li class="tree-branch" role="treeitem" aria-expanded="false">				<i class="icon-caret ace-icon tree-plus"></i>&nbsp;				<div class="tree-branch-header">					<span class="tree-branch-name">						<i class="icon-folder ace-icon fa fa-folder blue"></i>						<span class="tree-label">Video</span>					</span>				</div>				<ul class="tree-branch-children" role="group"></ul>				<div class="tree-loader hidden" role="alert"><div class="tree-loading"><i class="ace-icon fa fa-refresh fa-spin blue"></i></div></div>			</li><li class="tree-branch tree-open" role="treeitem" aria-expanded="true">				<i class="icon-caret ace-icon tree-minus"></i>&nbsp;				<div class="tree-branch-header">					<span class="tree-branch-name">						<i class="icon-folder green ace-icon fa fa-folder-open"></i>						<span class="tree-label">Documents</span>					</span>				</div>				<ul class="tree-branch-children" role="group"><li class="tree-item" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-file-text red"></i> document1.pdf</span>				</span>			</li><li class="tree-item" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-file-text grey"></i> document2.doc</span>				</span>			</li><li class="tree-item" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-file-text grey"></i> document3.doc</span>				</span>			</li><li class="tree-item" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-file-text red"></i> document4.pdf</span>				</span>			</li><li class="tree-item" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-file-text grey"></i> document5.doc</span>				</span>			</li></ul>				<div class="tree-loader hidden" role="alert"><div class="tree-loading"><i class="ace-icon fa fa-refresh fa-spin blue"></i></div></div>			</li><li class="tree-branch" role="treeitem" aria-expanded="false">				<i class="icon-caret ace-icon tree-plus"></i>&nbsp;				<div class="tree-branch-header">					<span class="tree-branch-name">						<i class="icon-folder ace-icon fa fa-folder"></i>						<span class="tree-label">Backup</span>					</span>				</div>				<ul class="tree-branch-children" role="group"></ul>				<div class="tree-loader hidden" role="alert"><div class="tree-loading"><i class="ace-icon fa fa-refresh fa-spin blue"></i></div></div>			</li><li class="tree-item" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-file-text grey"></i> ReadMe.txt</span>				</span>			</li><li class="tree-item" role="treeitem">				<span class="tree-item-name">				  				  <span class="tree-label"><i class="ace-icon fa fa-book blue"></i> Manual.html</span>				</span>			</li></ul>
            </div>
        </div>
    </div>
</div>



		<!-- basic scripts -->

		<!--[if !IE]> -->
		<script src="/public/static/ace1.4/assets/js/jquery-2.1.4.min.js"></script>

		<!-- <![endif]-->

		<!--[if IE]>
<script src="/public/static/ace1.4/assets/js/jquery-1.11.3.min.js"></script>
<![endif]-->
		<script type="text/javascript">
			if('ontouchstart' in document.documentElement) document.write("<script src='/public/static/ace1.4/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="/public/static/ace1.4/assets/js/bootstrap.min.js"></script>

		<!-- page specific plugin scripts -->
		<script src="/public/static/ace1.4/assets/js/tree.min.js"></script>

		<!-- ace scripts -->
		<script src="/public/static/ace1.4/assets/js/ace-elements.min.js"></script>
		<script src="/public/static/ace1.4/assets/js/ace.min.js"></script>

		<!-- inline scripts related to this page -->
		<script type="text/javascript">
			jQuery(function($){
	var sampleData = initiateDemoData();//see below


	$('#tree1').ace_tree({
		dataSource: sampleData['dataSource1'],
		multiSelect: true,
		cacheItems: true,
		'open-icon' : 'ace-icon tree-minus',
		'close-icon' : 'ace-icon tree-plus',
		'itemSelect' : true,
		'folderSelect': false,
		'selected-icon' : 'ace-icon fa fa-check',
		'unselected-icon' : 'ace-icon fa fa-times',
		loadingHTML : '<div class="tree-loading"><i class="ace-icon fa fa-refresh fa-spin blue"></i></div>'
	});
	
	$('#tree2').ace_tree({
		dataSource: sampleData['dataSource2'] ,
		loadingHTML:'<div class="tree-loading"><i class="ace-icon fa fa-refresh fa-spin blue"></i></div>',
		'open-icon' : 'ace-icon fa fa-folder-open',
		'close-icon' : 'ace-icon fa fa-folder',
		'itemSelect' : true,
		'folderSelect': true,
		'multiSelect': true,
		'selected-icon' : null,
		'unselected-icon' : null,
		'folder-open-icon' : 'ace-icon tree-plus',
		'folder-close-icon' : 'ace-icon tree-minus'
	});
	
	
	/**
	//Use something like this to reload data	
	$('#tree1').find("li:not([data-template])").remove();
	$('#tree1').tree('render');
	*/
	
	
	/**
	//please refer to docs for more info
	$('#tree1')
	.on('loaded.fu.tree', function(e) {
	})
	.on('updated.fu.tree', function(e, result) {
	})
	.on('selected.fu.tree', function(e) {
	})
	.on('deselected.fu.tree', function(e) {
	})
	.on('opened.fu.tree', function(e) {
	})
	.on('closed.fu.tree', function(e) {
	});
	*/
	
	
	function initiateDemoData(){

		var dataSource1 = function(options, callback){
			var $data = null
			if(!("text" in options) && !("type" in options)){
				$data = tree_data;//the root tree
				callback({ data: $data });
				return;
			}
			else if("type" in options && options.type == "folder") {
				if("additionalParameters" in options && "children" in options.additionalParameters)
					$data = options.additionalParameters.children || {};
				else $data = {}//no data
			}
			
			if($data != null)//this setTimeout is only for mimicking some random delay
				setTimeout(function(){callback({ data: $data });} , parseInt(Math.random() * 500) + 200);

			//we have used static data here
			//but you can retrieve your data dynamically from a server using ajax call
			//checkout examples/treeview.html and examples/treeview.js for more info
		}




		var tree_data_2 = {
            '规章制度' : {text: '规章制度', type: 'folder', 'icon-class':'green'}	,
            '申请表' : {text: '申请表', type: 'folder', 'icon-class':'orange'}	,
			'宿舍检查' : {text: '宿舍检查', type: 'folder', 'icon-class':'red'}	,
		}
		tree_data_2['申请表']['additionalParameters'] = {
			'children' : [
				{text: '<i class="ace-icon fa fa-file-text blue"></i> 宿舍入住申请表.doc', type: 'item'},
				{text: '<i class="ace-icon fa fa-file-text blue"></i> 退宿申请表.doc', type: 'item'},
				{text: '<i class="ace-icon fa fa-file-text blue"></i> 调换宿舍申请表.doc', type: 'item'},
			]
		}
		tree_data_2['宿舍检查']['additionalParameters'] = {
			'children' : {
				'卫生评比' : {text: '卫生评比', type: 'folder', 'icon-class':'pink'},
				'违禁品检查' : {text: '违禁品检查', type: 'folder', 'icon-class':'pink'}
			}
		}
		tree_data_2['宿舍检查']['additionalParameters']['children']['卫生评比']['additionalParameters'] = {
			'children' : [
				{text: '<i class="ace-icon fa fa-file-text green"></i> 2021年3月卫生评比统计表.xls', type: 'item'},
				{text: '<i class="ace-icon fa fa-file-text green"></i> 2021年4月卫生评比统计表.xls', type: 'item'},
				{text: '<i class="ace-icon fa fa-file-text green"></i> 2021年5月卫生评比统计表.xls', type: 'item'},
				{text: '<i class="ace-icon fa fa-file-text green"></i> 2021年6月卫生评比统计表.xls', type: 'item'}
			]
		}
		tree_data_2['宿舍检查']['additionalParameters']['children']['违禁品检查']['additionalParameters'] = {
			'children' : [
				{text: '<i class="ace-icon fa fa-file-text green"></i> 2021年3月违禁品检查通报.pdf', type: 'item'},
				{text: '<i class="ace-icon fa fa-file-text green"></i> 2021年4月违禁品检查通报.pdf', type: 'item'},
				{text: '<i class="ace-icon fa fa-file-text green"></i> 2021年5月违禁品检查通报.pdf', type: 'item'},
				{text: '<i class="ace-icon fa fa-picture-o green"></i> 2021年6月违禁品检查通报.pdf', type: 'item'},
			]
		}
		tree_data_2['规章制度']['additionalParameters'] = {
			'children' : [
				{text: '<i class="ace-icon fa fa-file-text red"></i> 学生宿舍管理规定.pdf', type: 'item'},
				{text: '<i class="ace-icon fa fa-file-text grey"></i> 学生退宿流程.pdf', type: 'item'},
			]
		}

		var dataSource2 = function(options, callback){
			var $data = null
			if(!("text" in options) && !("type" in options)){
				$data = tree_data_2;//the root tree
				callback({ data: $data });
				return;
			}
			else if("type" in options && options.type == "folder") {
				if("additionalParameters" in options && "children" in options.additionalParameters)
					$data = options.additionalParameters.children || {};
				else $data = {}//no data
			}
			
			if($data != null)//this setTimeout is only for mimicking some random delay
				setTimeout(function(){callback({ data: $data });} , parseInt(Math.random() * 500) + 200);

			//we have used static data here
			//but you can retrieve your data dynamically from a server using ajax call
			//checkout examples/treeview.html and examples/treeview.js for more info
		}

		
		return {'dataSource1': dataSource1 , 'dataSource2' : dataSource2}
	}

});
		</script>